package com.subsequent.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.subsequent.pojo.ServiceTypes;
import com.subsequent.service.ServiceTypesService;
import com.subsequent.mapper.ServiceTypesMapper;
import com.subsequent.vo.ServiceTypeVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
* @author 19329
* @description 针对表【service_types】的数据库操作Service实现
* @createDate 2025-05-08 15:40:16
*/
@Service
public class ServiceTypesServiceImpl extends ServiceImpl<ServiceTypesMapper, ServiceTypes>
    implements ServiceTypesService{
    @Autowired
    private ServiceTypesMapper serviceTypesMapper;

    @Override
    public List<ServiceTypeVO> list(String name, String status, Date startTime, Date endTime) {
        return serviceTypesMapper.queryServiceTypes(name, status, startTime, endTime);
    }
}




